package com.vue.designPatterns.adapter;

/**
 * Created by Administrator on 2019/3/15.
 */
public class AdapterTest {

    public static void main(String[] args) {
        /*Adapter adapter = new Adapter();
        adapter.method1();
        adapter.method2();*/

        Sourceable source1 = new SourceSub1();
        Sourceable source2 = new SourceSub2();

        source1.method1();
        source1.method2();
        source2.method1();
        source2.method2();

    }

}
